
<form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label for="username" class="control-label col-xs-12 col-sm-2">{:__('名字')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="username" class="form-control" name="row[username]" type="text" value="" data-rule="required" >
        </div>
    </div>
    <div class="form-group">
        <label for="telphone" class="control-label col-xs-12 col-sm-2">{:__('电话')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="telphone" class="form-control" name="row[telphone]" type="text" value="" data-rule="required" >
        </div>
    </div>
    <div class="form-group">
        <label for="arrive_time" class="control-label col-xs-12 col-sm-2">{:__('到达时间')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input type="text" class="form-control datetimepicker" id="arrive_time" name="row[arrive_time]" value="" data-date-format="YYYY-MM-DD" data-rule="{:__('facetime')}:required" size="6" />
        </div>
    </div>
    <div class="form-group">
        <label for="status" class="control-label col-xs-12 col-sm-2">{:__('状态')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select  id="status" data-rule="required" class="form-control selectpicker" name="row[status]">
                <option value="" selected="true" disabled="true">选择类型</option>
                {foreach name="statuslit" item="vo"}
                <option value="{$vo.id}"  >{$vo.name}</option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
